package org.wxd.account.api.user;

import org.wxd.account.api.user.dto.UserGetRequest;
import org.wxd.account.api.user.dto.UserRecord;
import org.wxd.account.api.user.dto.UserListRequest;

import java.util.List;

/**
 * Created by wangxd on 2015/10/30.
 */
public interface UserQueryService {

    /**
     * @param request
     * @return
     */
    UserRecord get(UserGetRequest request);

    /**
     * @param request
     * @return
     */
    List<UserRecord> list(UserListRequest request);

}
